package com.zrrd.learn.chapter09;

import com.zrrd.learn.chapter04.Array;
import com.zrrd.learn.chapter08.Interface.Interface01;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.LinkedList;
import java.util.List;

/**
 * 集合
 *
 * @author asus
 * @version 1.0
 * @date 2023/8/14 11:07
 */
public class LearnLine {

    public static void main(String[] args) {
        List<Integer> list = new LinkedList<>();
        List<Integer> list1 = new ArrayList<>(28);

        List<Integer> integers = Arrays.asList(1,2,3,4);
        integers.set(0,5);

        System.out.println(integers);
        List<Integer> list2 = new LinkedList<>(list);
    }

}
